<!DOCTYPE html>
<html>
	<include file="Public/header" />
	<body>
		<div class="mui-content">
		    <header class="mui-bar mui-bar-nav pub_head">
		        <a class="mui-action-back mui-icon mui-pull-left iconfont icon-left" href="javascript:history.go(-1)"></a>
		        <h1 class="mui-title">今日食餐</h1>
		        <a class="mui-icon mui-pull-right iconfont icon-house1" style="font-size:26px;padding-top:0.5rem;" href='/'></a>
		    </header>
		    <if condition="!empty($data)">
		    <ul class="mui-table-view mTop dule_list meal_list">
			  <volist name="data" id="val">
		        <li class="mui-table-view-cell mui-collapse dule_cell">
		            <a class="meal_active" href="#">
		            	<i class="iconfont icon-icon"></i>
		            	<span class="dule_week">星期
		            		<if condition="date('N',$val['time']) eq 1">一
								<elseif condition="date('N',$val['time']) eq 2" />二
								<elseif condition="date('N',$val['time']) eq 3" />三
								<elseif condition="date('N',$val['time']) eq 4" />四
								<elseif condition="date('N',$val['time']) eq 5" />五
								<else />
		            		</if>
		            	<!-- {:date('N',$val['time'])} --></span>
		            	<span class="dule_mLeft">{$val['time']|date="Y年m月d日",###}</span>
		            </a>
		            <div class="mui-collapse-content dule_list_list">
		            	<div class="meal_list_titDetail">
		            		<p>
		            			<span class="meal_list_title">保健医生：</span>
		            			<span>{$val['name']}</span>
		            		</p>
		            		<p>
		            			<span class="meal_list_title">营养丰富、均衡，达到配餐的目的或效果</span>
		            		</p>
		            		<p>
		            			<span class="meal_list_title">当前时间：</span>
		            			<span>{:date('Y年m月d日')}</span>
		            		</p>
		            	</div>
		                <ul class="meal_list_cont">
		                	<li>
		                		<span class="meal_list_time">早餐({$val['bf_time']|default='07:00'})</span>
		                		<span class="meal_list_course">{$val['bf']|default='无'}</span>
		                	</li>
		                	<li>
		                		<span class="meal_list_time">加餐1({$val['bf_ext_time']|default='10:00'})</span>
		                		<span class="meal_list_course">{$val['bf_ext']|default='无'}</span>
		                	</li>
		                	<li>
		                		<span class="meal_list_time">中餐({$val['l_time']|default='12:00'})</span>
		                		<span class="meal_list_course">{$val['lunch']|default='无'}</span>
		                	</li>
		                	<li>
		                		<span class="meal_list_time">加餐2({$val['l_ext_time']|default='15:00'})</span>
		                		<span class="meal_list_course">{$val['l_ext']|default='无'}</span>
		                	</li>
		                	<li>
		                		<span class="meal_list_time">晚餐({$val['d_time']|default='18:00'})</span>
		                		<span class="meal_list_course">{$val['dinner']|default='无'}</span>
		                	</li>
		                </ul>
		                 <div class="bdsharebuttonbox meal_list_footer">
								<a class="meal_footer_share" href="#" data-cmd="more"><i class="iconfont icon-xin"></i>马上分享</a>
							</div>
		               <!--  <div class="meal_list_footer">
		                	<a class="meal_footer_share" href="javascript:;">
			                	<i class="iconfont icon-xin"></i>
			                	<span class='Share'>马上分享</span>
		                	</a>
		                </div> -->
		            </div>
		        </li>
			  </volist>
		        <!-- <li class="mui-table-view-cell mui-collapse dule_cell">
		            <a class="meal_active" href="#">
		            	<i class="iconfont icon-icon"></i>
		            	<span class="dule_week">星期五</span>
		            	<span class="dule_mLeft">2017年6月15日</span></a>
		                <div class="mui-collapse-content dule_list_list">
		            	<div class="meal_list_titDetail">
		            		<p>
		            			<span class="meal_list_title">保健医生：</span>
		            			<span>李医生</span>
		            		</p>
		            		<p>
		            			<span class="meal_list_title">营养丰富、均衡，达到配餐的目的或效果</span>
		            		</p>
		            		<p>
		            			<span class="meal_list_title">当前时间：</span>
		            			<span>2016年6月15日</span>
		            		</p>
		            	</div>
		                <ul class="meal_list_cont">
		                	<li>
		                		<span class="meal_list_time">早餐(07:00)</span>
		                		<span class="meal_list_course">牛肉浇菜粥、芙蓉包、咸鸭蛋</span>
		                	</li>
		                	<li>
		                		<span class="meal_list_time">加餐1(10:00)</span>
		                		<span class="meal_list_course">梨</span>
		                	</li>
		                	<li>
		                		<span class="meal_list_time">中餐(12:00)</span>
		                		<span class="meal_list_course">牛肉排骨汤</span>
		                	</li>
		                	<li>
		                		<span class="meal_list_time">加餐2(15:00)</span>
		                		<span class="meal_list_course">香蕉</span>
		                	</li>
		                	<li>
		                		<span class="meal_list_time">晚餐(18:00)</span>
		                		<span class="meal_list_course">红豆饭</span>
		                	</li>
		                </ul>
		                <div class="meal_list_footer">
		                	<a class="meal_footer_share" href="javascript:;">
			                	<i class="iconfont icon-xin"></i>
			                	<span>马上分享</span>
		                	</a>
		                </div>
		            </div>
		        </li> -->
		    </ul>
		 </if>
		</div>
	  <if condition="empty($data)">
	    <div class="mui-content">
		    <div class="no-message">
		    	<i class="iconfont icon-zanwuxiaoxitixing"></i>
		    	<p>暂无消息</p>
    		</div>
		</div>
	  </if>
	</body>
<script>
window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"","bdStyle":"0","bdSize":"16"},
		"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},
		"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};
		with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
</html>